package com.wowudi.model.power;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@TableName(value = "t_popedom")
public class Popedom implements Serializable {
    /**
     * 权限Id
     */
    @TableId(value = "p_id", type = IdType.AUTO)
    private Integer pId;

    /**
     * 权限名称
     */
    @TableField(value = "p_name")
    private String pName;

    /**
     * 权限父ID
     */
    @TableField(value = "p_father_id")
    private Integer pFatherId;

    /**
     * 连接路径
     */
    @TableField(value = "p_url")
    private String pUrl;

    /**
     * 创建时间
     */
    @TableField(value = "p_create_time")
    private Date pCreateTime;

    /**
     * 修改时间
     */
    @TableField(value = "p_update_time")
    private Date pUpdateTime;

    private static final long serialVersionUID = 1L;
}
